package com.DHH.Mapper.Base;

import com.DHH.Entity.Base.BaseRole;

import org.springframework.stereotype.Repository;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;
import java.util.List;

@Repository
@MapperScan
public interface BaseRoleMapper extends Mapper<BaseRole>  {

            /*搜索*/
    public List<BaseRole> searchByBaseRole(BaseRole r);
             /*筛选*/
    public List<BaseRole> screenByBaseRole(BaseRole r);
             /*过滤*/
    public List<BaseRole> filterByBaseRole(BaseRole r);

    public BaseRole selectBaseRoleById(BaseRole r);

    public List<BaseRole> selectSysRoleByUserId(Integer id);
}
